import { Code, CreateDate, DisplayOrder, Entity, PrimaryKey, PrimaryUuid, Title, UpdateDate } from "@sker/core";


@Entity({ name: 'jd_country' })
export class JdCountry {

    @PrimaryUuid()
    id: string;

    @Code({ comment: '唯一', unique: true })
    code: string;

    @Title({ comment: '英文', default: '' })
    name: string;

    @Title({ comment: '中文', default: '' })
    name_cn: string;

    @CreateDate()
    create_date: Date;

    @DisplayOrder()
    displayorder: number;

    @UpdateDate()
    update_date: Date;
}